projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa2d40
)
(Shell Options): Add brief mention of ansi-color.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 11 Nov 2001 20:09:34 +0000
(20:09 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 11 Nov 2001 20:09:34 +0000
(20:09 +0000)
man/misc.texi
patch
|
blob
|
history
diff --git
a/man/misc.texi
b/man/misc.texi
index ec1f53c95ee759498f8aec6eafef9f11416b3356..7441c7c3db80982773877246f25386e5116a796d 100644
(file)
--- a/
man/misc.texi
+++ b/
man/misc.texi
@@
-959,6
+959,13
@@
directory stack if they are not already on it
(@code{shell-pushd-dunique}). The values you choose should match the
underlying shell, of course.
+ If you want Shell mode to handle color output from shell commands,
+you can enable ANSI Color mode. Here is how to do this:
+
+@example
+(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
+@end example
+
@node Terminal emulator
@subsection Emacs Terminal Emulator
@findex term